package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 模块信息表
 *
 * @author https://gitee.com/deeround
 * @TableName sys_mod
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_mod")
public class SysMod extends BaseEntity implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "mod_id")
    private String modId;

    /**
     * 模块名称
     */
    @TableField(value = "mod_name")
    private String modName;

    /**
     * 物理表名
     */
    @TableField(value = "table_name")
    private String tableName;

    /**
     * 主键
     */
    @TableField(value = "primary_key")
    private String primaryKey;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 是否树形列表
     */
    @TableField(value = "is_tree_list")
    private String isTreeList;

    /**
     * 是否有流程
     */
    @TableField(value = "is_flow")
    private String isFlow;

    /**
     * 流程模板ID
     */
    @TableField(value = "machine_id")
    private String machineId;

    /**
     * 父级ID
     */
    @TableField(value = "pid")
    private String pid;

    /**
     * 表单大小
     */
    @TableField(value = "form_size")
    private Integer formSize;

    /**
     * 状态（0停用 1正常）
     */
    @TableField(value = "status")
    private String status;

    /**
     * 分组ID
     */
    @TableField(value = "group_id")
    private String groupId;


}
